package com.un.ebs.product.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 1
 * </p>
 *
 * @author liubo
 * @since 2019-11-04
 */
@Data
@Component
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("v_product_class_attr_ext")
public class ProductClassAttrExt extends Model<ProductClassAttrExt> {

    private static final long serialVersionUID=1L;

    private String id;

    private String name;

    private String classId;

    private Boolean isKey;

    private Boolean isMust;

    private Boolean isMulti;

    private Boolean isSale;

    private Boolean isColumnShow;

    private Integer sort;

    @TableLogic
    private Boolean isDelete;

    @TableField(fill=FieldFill.INSERT)
    private Date createTime;

    @TableField(fill=FieldFill.INSERT)
    private String createAt;

    @TableField(fill=FieldFill.UPDATE)
    private Date lastModifiedTime;

    @TableField(fill=FieldFill.UPDATE)
    private String lastModifiedAt;

    private String tenantId;

    private String groupId;

    private String groupName;

    private Integer groupSort;

    @Override
    protected Serializable pkVal() {
            return null;
    }

}